package com.youtellv1.service;

import com.youtellv1.entity.ChildSign;

import java.util.Date;
import java.util.List;

public interface ChildSignService {
    List<ChildSign> findAllService();
    ChildSign findByCidService(Integer cid);

    int countByCidAndDateRange(Integer cid, String start, String end);
    void saveService(ChildSign childSign);
    void updateService(ChildSign childSign);
    void deleteService(ChildSign childSign);
    public boolean isTodaySigned(Integer cid);
    void insertTodaySign(Integer cid);
    boolean hasSignedToday(Integer cid);
    public List<Date> findAllSignDates(Integer cid);
    public List<Date> findThisMonthSignDates(Integer cid);
    boolean hasSignedOnDate(Integer cid, Date sdate);
    void insertSignRecord(Integer cid, Date sdate);

}
